#include <arpa/inet.h>

#include "structs.h"

void init_header(header*, int, int);

void encode_header(header*);
void encode_location(location*);

void decode_header(header*);
void decode_location(location*);
